import instance from '../utils/http'
/**
 * 通过并发请求获取首页轮播图的数据
 */
export const reqSwiperData = () => {
  return instance.get('/carousel/getCarouselList')
}
// 获取主题分类数据的方法
export const reqThemeCakeList =()=>{
    return instance.get('/themecake/selectAllTheme')
}
// 获取新品上市的数据
export const reqNewCakeList =()=>{
    return instance.get('/cake/selectNewCakeList')
}
// 获取精选系列的数据
export const reqChoiceCakeList =()=>{
    return instance.get('/cake/selectChoiceCakeList');
}
// 获取节日数据
export const reqFestivalList=()=>{
    return instance.get('/festival/getFestivals')
}